import {
	get,
	post,
	put,
	deleteUrl,
	postUrl
} from './index'

import base from './base'

const api = base + 'waic-portal/'
const utility = base + 'waic-utility/'
const solr = base + 'waic-solr/'

export default {
	getWristband: () => { // 获取手环信息接口
		return post(base + '/screen/getWristband')
	},
	getSmokeSensor: () => { // 获取烟感信息接口
		return post(base + '/screen/getSmokeSensor')
	},
	getDispose: (data) => { // 获取烟感信息接口
		return post(base + '/screen/dispose', data)
	},
	getResidentAge: () => { // 获取居民年龄段人数统计信息接口
		return post(base + '/screen/getResidentAge')
	},
	getContradictionCount: () => { // 获取矛盾纠纷统计信息接口
		return post(base + '/screen/getContradictionCount')
	},
	getHandlingCount: () => { // 获取处理社区服务统计信息接口
		return post(base + '/screen/getHandlingCount')
	},
	getPopulationMobility: () => { // 获取人口流动信息
		return post(base + '/screen/getPopulationMobility')
	},
	getpopUps: () => { // 烟感报警弹窗
		return post(base + '/screen/popUps')
	},
	getOldType: () => { // 人类型统计
		return post(base + '/screen/getOldType')
	},
	getWeather: () => { // 天气
		return post(base + '/screen/weather')
	},
	getBracelets: (data) => { // 手环列表
		return post(base + '/screen/bracelets', data)
	},
}